//
//  InfmTabHeadClickView.m
//  diaoyuren
//
//  Created by 钓鱼人 on 16/3/10.
//  Copyright © 2016年 game. All rights reserved.
//

#import "InfmTabHeadClickView.h"

@interface InfmTabHeadClickView ()
@property (weak, nonatomic) IBOutlet NSLayoutConstraint *lin1Hight;
@property (weak, nonatomic) IBOutlet NSLayoutConstraint *lin2Hight;

@end

@implementation InfmTabHeadClickView

-(instancetype)initWithFrame:(CGRect)frame{
    if ([super initWithFrame:frame]) {
       
    }
    return self;
}

-(void)awakeFromNib{

 self.backgroundColor = TouMingBlack;
    
    self.lin1Hight.constant = 0.5;
    self.lin2Hight.constant = 0.5;
    
    [self.cancelbtn addTarget:self action:@selector(click) forControlEvents:UIControlEventTouchUpInside];
    
    UITapGestureRecognizer *tap = [[UITapGestureRecognizer alloc]initWithTarget:self action:@selector(click)];
    [self addGestureRecognizer:tap];
    
    self.paizhaobtn.titleLabel.font = font(SCREEN_WIDTH*0.045);
    self.xiangcebtn.titleLabel.font = font(SCREEN_WIDTH*0.045);
    self.cancelbtn.titleLabel.font = font(SCREEN_WIDTH*0.045);
}

-(void)click{

    self.alpha = 0;
}

@end
